# AUTHOR: DING
# -*- codeing = utf-8 -*-
# @Time: 2024/2/23 18:21
# @Author: 86139
# @Site: 
# @File: 15-linear.py
# @Software: PyCharm
# tensorboard --logdir=pytorch/logs --port=6007
import torch
import torch.nn as nn

m = nn.Linear(2, 3)
# input = torch.randn(10, 2)
input = torch.tensor([1, 2],dtype=torch.float32)
output = m(input)
print(output.size())
print(input)
print(output)
